//
//  UIButton+Action.h
//  IOSDome
//
//  Created by clobe on 2019/4/15.
//  Copyright © 2019 clobe. All rights reserved.
//

#import <UIKit/UIKit.h>
#import <objc/runtime.h>

NS_ASSUME_NONNULL_BEGIN


typedef void (^ActionBlock)(UIButton *button);

@interface UIButton (Action)

@property (nonatomic,copy) ActionBlock actionBlock;

+ (UIButton *)createBtnWithFrame:(CGRect)frame title:(NSString *)title actionBlock:(ActionBlock)actionBlock;

@end

NS_ASSUME_NONNULL_END
